﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewSchool.aspx.cs" Inherits="ExamAnalysis.View.ViewSchool" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="GridView" runat="server" AllowSorting="True" Width="500" 
        AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" 
        BorderStyle="Solid" BorderWidth="1px" CellPadding="3" DataKeyNames="SchoolID" 
        DataSourceID="LinqDataSource" ForeColor="Black" GridLines="Horizontal" >
    <Columns>
        <asp:BoundField DataField="SchoolID" HeaderText="标识" 
            InsertVisible="False" ReadOnly="True" SortExpression="SchoolID" />
        <asp:BoundField DataField="FullName" HeaderText="学校全名" 
            SortExpression="FullName" />
        <asp:BoundField DataField="AliasName" HeaderText="学校简称" 
            SortExpression="AliasName" />
        <asp:BoundField DataField="Type" HeaderText="学校类型" SortExpression="Type" />
    </Columns>
    <FooterStyle BackColor="#CCCCCC" />
    <HeaderStyle BackColor="Black" Height="30" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
    <RowStyle Height="30" />
    </asp:GridView>
    <asp:LinqDataSource ID="LinqDataSource" runat="server" 
        ContextTypeName="ExamAnalysis.Model.ExamAnalysisDataContext" EntityTypeName="" 
        TableName="SchoolInfo">
    </asp:LinqDataSource>
</asp:Content>
